import { ref } from "vue";
import { defineStore } from "pinia";
const startDate = ref(new Date().getTime());
const endDate = ref(new Date().getTime() + 24 * 60 * 60 * 1000);

const useMainStore = defineStore("main", {
  state: () => ({
    token: "",
    isLoading: false,
    startDate: startDate,
    endDate: endDate,
  }),
});

export default useMainStore;
